package com.epam.controller;

import java.util.Locale;
import java.util.ResourceBundle;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * Application Lifecycle Listener implementation class LocalePropertiesListener
 *
 */
public class LocalePropertiesListener implements ServletContextListener {

    /**
     * Default constructor. 
     */
    public LocalePropertiesListener() {
           }

	/**
     * @see ServletContextListener#contextInitialized(ServletContextEvent)
     */
    public void contextInitialized(ServletContextEvent sce) {
    /*	Locale curLocale = new Locale("en");
       ResourceBundle resourceBundle = ResourceBundle.getBundle("fasebandle", curLocale);
        sce.getServletContext().setAttribute("fasebandle",resourceBundle);*/

    }

	/**
     * @see ServletContextListener#contextDestroyed(ServletContextEvent)
     */
    public void contextDestroyed(ServletContextEvent sce) {
     
    }
	
}
